package com.china08.yxyapi.util;

public class YxyGrade {
    // 01年级~12年级
    public static String getGradeValue(String grade) {
        if (grade == null) { return "暂无年级"; }
        grade = grade.toLowerCase();
        if (grade.equals("g1")) {
            return "一年级";
        } else if (grade.equals("g2")) {
            return "二年级";
        } else if (grade.equals("g3")) {
            return "三年级";
        } else if (grade.equals("g4")) {
            return "四年级";
        } else if (grade.equals("g5")) {
            return "五年级";
        } else if (grade.equals("g6")) {
            return "六年级";
        } else if (grade.equals("g7")) {
            return "七年级";
        } else if (grade.equals("g8")) {
            return "八年级";
        } else if (grade.equals("g9")) {
            return "九年级";
        } else if (grade.equals("g10")) {
            return "高一";
        } else if (grade.equals("g11")) {
            return "高二";
        } else if (grade.equals("g12")) {//
            return "高三";//
        } else if (grade.equals("gc4")) {//
            return "九年级";//
        } else if (grade.equals("g_xq")) {//
            return "学前班";//
        } else if (grade.equals("g0_0")) {//
            return "幼儿园小小班";//
        } else if (grade.equals("g0_1")) {//
            return "幼儿园小班";//
        } else if (grade.equals("g0_2")) {//
            return "幼儿园中班";//
        } else if (grade.equals("g0_3")) {//
            return "幼儿园大班";//
        }
        return grade;
    }
}
